package com.ruoyi.queue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排队业务对象 que_biz
 *
 * @author Zliming
 * @date 2020-03-19
 */
public class QueBiz extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 部门ID */
    private Long deptId;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String name;

    /** 业务所在楼层 */
    @Excel(name = "业务所在楼层")
    private String floor;

    /** 打印号 */
    @Excel(name = "打印号")
    private String minnum;

    /** 最大打印号 */
    @Excel(name = "最大打印号")
    private String maxnum;

    /** 当前打印号 */
    @Excel(name = "当前打印号")
    private String nownum;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getFloor() {
        return floor;
    }
    public void setMinnum(String minnum) {
        this.minnum = minnum;
    }

    public String getMinnum() {
        return minnum;
    }
    public void setMaxnum(String maxnum) {
        this.maxnum = maxnum;
    }

    public String getMaxnum() {
        return maxnum;
    }
    public void setNownum(String nownum) {
        this.nownum = nownum;
    }

    public String getNownum() {
        return nownum;
    }
    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("floor", getFloor())
            .append("minnum", getMinnum())
            .append("maxnum", getMaxnum())
            .append("nownum", getNownum())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
